﻿using System;
using System.Collections.Generic;
using System.Text;

namespace System.Peppers.Win32
{
    /// <summary>
    /// Class for holding parameters to map a network drive
    /// </summary>
    public sealed class NetworkDriveParameters
    {
        /// <summary>
        /// Full path of share, of the form: \\hostname\sharename
        /// </summary>
        public string RemotePath
        {
            get;
            set;
        }

        /// <summary>
        /// Drive letter of the share
        /// </summary>
        public char DriveLetter
        {
            get;
            set;
        }

        /// <summary>
        /// Set to true if you want the connection to remain after restarting the pc
        /// </summary>
        public bool Temporary
        {
            get;
            set;
        }

        /// <summary>
        /// Username for share, leave blank to prompt user
        /// </summary>
        public string Username
        {
            get;
            set;
        }

        /// <summary>
        /// Password for share, leave blank to prompt user
        /// </summary>
        public string Password
        {
            get;
            set;
        }
    }
}
